package top.jiangqiang.crawler.core.entities;


import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.InputStream;

@Getter
@Setter
@NoArgsConstructor
public class StreamCrawler extends Crawler {
    /**
     * null，请求未发起出现异常
     */
    private Integer responseCode = null;
    private String contentType = "";
    /**
     * null，没有响应体
     */
    private InputStream inputStream;
    /**
     * 没有获取到时，为-1
     */
    private Long contentLength;
}
